package com.etime.perfectschool.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.perfectschool.pojo.SchoolActivies;


public interface SchoolActiviesService {
    //查询全部活动
    Page<SchoolActivies> getAllSchoolActivies(int current,int size);
    //发布活动
    int addSchoolActivies(SchoolActivies schoolActivies);
    //点赞功能
    boolean likeSchoolActivies(SchoolActivies schoolActivies);
    //查询某条活动
    SchoolActivies getSchoolActivies(int activityId);
    //修改活动
    boolean updateSchoolActivies(SchoolActivies schoolActivies);
    //删除某个活动
    boolean deleteSchoolActivies(int activityId);
}
